package com.cit.draw.redis;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.inject.Provider;

/**
 * @author Vincent Zou
 * 
 */
public class JedisProvider implements Provider<BinaryJedisPool> {
	private static final Logger log = LoggerFactory
			.getLogger(RedisCachingProvider.class);

	@Override
	public BinaryJedisPool get() {

		String host = "localhost";
		int port = 7775;

		BinaryJedisPool jedisPool = new BinaryJedisPool(host, port);

		return jedisPool;

		// If we reach this point, there's no suitable listen point

	}
}
